package com.happyfamily.springboot.crowdsourcingplatform.service.guo;


import com.happyfamily.springboot.crowdsourcingplatform.model.*;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface FrontNeedService
{
	int total(String name, String ntitle, String startDate, String endDate);

	List<Need> search(RowBounds rowBounds, String name, String ntitle, String startDate, String endDate);

	int totalWork(String consumeraccount, String wtitle, String startDate, String endDate);

	List<Work> searchWork(RowBounds rowBounds, String consumeraccount, String wtitle, String startDate, String endDate);

	Work getWork(String wid);

	List<Tender> getTenderList(Long needid);

	SysUser getUserList(Long uid);

	List<StationFlow> getMoney(RowBounds rowBounds,String account,String startDate);

	int totalMoney(String account,String startDate);

	SysUser getUser(String account);

	String charge(String account,String msg);

	List<ServerType> getServerType(Long sparentid);

	String confirmServiceProvider(Long nid,Long tid,String account);

	Alliance getAlliance(Long uid);

	ServerType getType(Long sid);

	List<Orders> searchOrders(RowBounds rowBounds, String account,String startDate, String endDate);

	int totalOrders(String account, String startDate, String endDate);

	Need getNeed(Long nid);

	Parameter getParameterTypeOne(Long pid);

	String payMoneyWork(String account,String wid);

	String payMoneyNeed(Long nid,String account,Long oid);

	String delivery(String nid,String oid,String account);

	Orders getOrder(Long oid);

	List<SysUser> getCounltantUsder(Long rid);

	String determineMoney(String account,Long wid);
}
